Skip to content

fix(tlsx): reject unsupported scan modes in New - #1035

Merged
dwisiswant0 merged 1 commit into
devfrom
dwisiswant0/fix/tlsx/reject-unsupported-scan-modes-in-new
Nov 4, 2026
Merged

dwisiswant0 merged 1 commit into
devfrom
dwisiswant0/fix/tlsx/reject-unsupported-scan-modes-in-new

Conversation

@dwisiswant0

Copy link
Copy Markdown
Member

New sent every ScanMode its switch did not match to the branch meant
for the empty default, so a typo or the wrong case such as "ZTLS"
silently ran the ctls client and rewrote ScanMode to "ctls". Only the
empty value keeps that default now; any value other than ctls, ztls,
openssl or auto makes New return an error.

Fixes: #1034

New sent every ScanMode its switch did not match to the branch meant
for the empty default, so a typo or the wrong case such as "ZTLS"
silently ran the ctls client and rewrote ScanMode to "ctls". Only the
empty value keeps that default now; any value other than ctls, ztls,
openssl or auto makes New return an error.

Fixes: #1034
Signed-off-by: Dwi Siswanto <git@dw1.io>
@coderabbitai

coderabbitai Bot commented Nov 4, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: abbf7e56-f34b-4441-8973-64bfd451a824

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@dwisiswant0
dwisiswant0 requested a review from Mzack9999 November 4, 2026 04:50
@dwisiswant0
dwisiswant0 merged commit 1a6d507 into dev Nov 4, 2026
8 checks passed
@dwisiswant0
dwisiswant0 deleted the dwisiswant0/fix/tlsx/reject-unsupported-scan-modes-in-new branch November 4, 2026 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants